﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000025 RID: 37
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AceAntiCheaterScRsp : IMessage<AceAntiCheaterScRsp>, IMessage, IEquatable<AceAntiCheaterScRsp>, IDeepCloneable<AceAntiCheaterScRsp>, IBufferMessage
	{
		// Token: 0x17000061 RID: 97
		// (get) Token: 0x06000179 RID: 377 RVA: 0x00005594 File Offset: 0x00003794
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AceAntiCheaterScRsp> Parser
		{
			get
			{
				return AceAntiCheaterScRsp._parser;
			}
		}

		// Token: 0x17000062 RID: 98
		// (get) Token: 0x0600017A RID: 378 RVA: 0x0000559B File Offset: 0x0000379B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AceAntiCheaterScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000063 RID: 99
		// (get) Token: 0x0600017B RID: 379 RVA: 0x000055AD File Offset: 0x000037AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AceAntiCheaterScRsp.Descriptor;
			}
		}

		// Token: 0x0600017C RID: 380 RVA: 0x000055B4 File Offset: 0x000037B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AceAntiCheaterScRsp()
		{
		}

		// Token: 0x0600017D RID: 381 RVA: 0x000055BC File Offset: 0x000037BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AceAntiCheaterScRsp(AceAntiCheaterScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600017E RID: 382 RVA: 0x000055E1 File Offset: 0x000037E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AceAntiCheaterScRsp Clone()
		{
			return new AceAntiCheaterScRsp(this);
		}

		// Token: 0x17000064 RID: 100
		// (get) Token: 0x0600017F RID: 383 RVA: 0x000055E9 File Offset: 0x000037E9
		// (set) Token: 0x06000180 RID: 384 RVA: 0x000055F1 File Offset: 0x000037F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06000181 RID: 385 RVA: 0x000055FA File Offset: 0x000037FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AceAntiCheaterScRsp);
		}

		// Token: 0x06000182 RID: 386 RVA: 0x00005608 File Offset: 0x00003808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AceAntiCheaterScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000183 RID: 387 RVA: 0x00005638 File Offset: 0x00003838
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000184 RID: 388 RVA: 0x00005677 File Offset: 0x00003877
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000185 RID: 389 RVA: 0x0000567F File Offset: 0x0000387F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000186 RID: 390 RVA: 0x00005688 File Offset: 0x00003888
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000187 RID: 391 RVA: 0x000056BC File Offset: 0x000038BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000188 RID: 392 RVA: 0x000056FA File Offset: 0x000038FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AceAntiCheaterScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000189 RID: 393 RVA: 0x0000572B File Offset: 0x0000392B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600018A RID: 394 RVA: 0x00005734 File Offset: 0x00003934
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400006E RID: 110
		private static readonly MessageParser<AceAntiCheaterScRsp> _parser = new MessageParser<AceAntiCheaterScRsp>(() => new AceAntiCheaterScRsp());

		// Token: 0x0400006F RID: 111
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000070 RID: 112
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04000071 RID: 113
		private uint retcode_;
	}
}
